Linux Cat and echo command detailed cat command is a text output command under Linux, usually for viewing the contents of a file; Cat has three main functions:1. Displays the entire file at once. $ cat FileName2. Create a file from the keyboard. $
EOF
EOF (end of file) is a status returned by the file read operation. It is not a value read from the file, instead, it is a return value when the file reading function reads the end Of the file or cannot read down. The returned value is generally-1
This paper introduces the method of using EOF Heredoc to output long-segment content, $name = ' name 'print EOT heredoc Usage Details _ www.cnblogs.com Hello ,$name! EOT;? >Attention:1. Start with a 2. The start tag is
Heredoc technology. HTML and JavaScript scripts that can be used to output large segmentsThe function of the 1.PHP delimiter is to follow the original, including the newline format, and output something inside it;2. Any special characters in the PHP
Could you tell me if my usage is correct.
$ Str =
For (I = 0; I
$ Arrkey [I]
}
Fan low-level error. I should be $ I.
I tested it. no. Write in this way.
EOF; It seems wrong to me. it is okay to
Heredoc technology, usually not detailed in regular PHP documentation and technical books, just mentions that this is a Perl-style string output technique. But now some of the forum procedures, and some of the article system, are clever use of
In some cases, we might need to generate a temporary file in the script and then put the file in the directory as the final file. (You can refer to the Ntop.spec file) There are several benefits, one of which is that temporary files are not unique,
In some cases, we might need to generate a temporary file in the script and then put the file in the directory as the final file. (You can refer to the Ntop.spec file) There are several benefits, one of which is that temporary files are not unique,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.